Skip to content

fix(clerk-js): Exclude external custom links from route matching - #2519

Merged
panteliselef merged 1 commit into
mainfrom
elef/SDK-1087
Jan 9, 2024
Merged

fix(clerk-js): Exclude external custom links from route matching#2519
panteliselef merged 1 commit into
mainfrom
elef/SDK-1087

Conversation

@panteliselef

Copy link
Copy Markdown
Contributor

Description

When the external links were included as part of custom pages the clerk-js router would break as it couldn't match against it. Previously adding external links to custom pages would cause all pages that are defined below it to throw an error.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

When the external links were included as part of custom pages the clerk-js router would break as it couldn't match against it.
Previously adding external links to custom pages would cause all pages that are defined below it to throw an error.
@changeset-bot

changeset-bot Bot commented Jan 9, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: af4b7f8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@panteliselef
panteliselef requested review from a team and anagstef January 9, 2024 14:44
@panteliselef
panteliselef added this pull request to the merge queue Jan 9, 2024
Merged via the queue into main with commit fbbb1af Jan 9, 2024
@panteliselef
panteliselef deleted the elef/SDK-1087 branch January 9, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants